Toy programs

Toy Programs are simplistic computer programs, typically written by novice programmers, that allow the programmer to gain a feel for the language they're working with. Toy programs are generally of little practical use, although the concepts implemented may be useful in a much more sophisticated program.

Typical examples of toy programs are computing the Nth term in a sequence, finding the roots of a quadratic equation and testing if a number is prime.

Toy Programs are also used for a developer trying out a new programming language, to test all of the language's syntax, and coding methods.